@import "../../common/activity/act_com";
@import "../../common/activity/pop_user";
@import "../../common/activity/cropper";
/* 背景色 */
body {
  background-color: #FF9c33;
}


content {
  .w {
    margin: 0 rem(15);
    padding: 0;
  }
}
.detail{
  background-color: #feeed1;
  border-radius:rem(5);
  padding: rem(20) rem(20);
  margin-bottom: rem(50);
  margin-top: rem(10);
  .return{
    padding-bottom: rem(10);
    position: relative;
    left: 0;
    top: 0;
  }
  .return:before,.return:after{
    content: "";
    position: absolute;
  }
  .return:before{
    top: 0;
    left:rem(-24);
    border: rem(10) solid transparent;
    border-right-color: #333;
  }
  .return:after{
    top:rem(2);
    left:rem(-19);
    border: rem(8) solid transparent;
    border-right-color: #feeed1;
  }
}
.works_detail{
  background-color: #fff;
  padding: rem(15) 0;
  position: relative;
  left: 0;
  top: 0;
  h3 {
    font-size: rem(16);
    text-align: center;
    line-height: rem(30);
    font-weight: 600;
  }
  img {
    width: 100%;
  }
  > div > ul {
    padding: rem(5);
    li {
      padding: rem(2) 0;
      p {
        color: #333;
        span {
          color: #666;
          b {
            color: #f35625;
          }
        }
      }
    }
    li:first-child {
      display: flex;
      justify-content: space-between;
    }
  }
  .post_vote {
    background-color: #fd8403;
    color: #fff;
    font-size: rem(16);
    line-height: rem(25);
    text-align: center;
    margin: rem(10) auto 0;
    height: rem(25);
    width: rem(120);
    border-radius: rem(2);
  }
  .numbering{
    position: absolute;
    right: 0;
    top:rem(45);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    height:rem(30);
    line-height: rem(30);
    padding: 0 rem(10);
    border-radius:0 0 0 2px;
  }
}

.footer {
  background-color: #fff;
  box-shadow: rem(2) rem(-2) rem(5) #e5e5e5;
  height: rem(50);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  a {
    border: 1px solid #fd8403;
    display: inline-block;
    width: 45%;
    height: rem(35);
    text-align: center;
    line-height: rem(35);
    border-radius: rem(5);
    flex-grow: 1;
  }
  a:first-child {
    color: #fd8403;
    font-size: rem(16);

  }
  a:last-child {
    background-color: #fd8403;
    color: #fff;
  }

}
/* 用户报名上传照片 */
.picture_select {
  padding: rem(10) 0;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  .change_picture {
    width: rem(120);
    line-height: rem(30);
    height: rem(30);
    text-align: center;
    font-size: rem(16);
    color: #fff;
    background-color: #0099ff;
    border-radius: rem(3);
    position: relative;
    left: 0;
    top: 0;
    input{
      position: absolute;
      left: 0;
      top:0;
      opacity: 0;
      width: 100%;
      height: 100%;
    }
  }
  p {
    color: #666;
    line-height: rem(30);
  }
  .picture_site {
    width: rem(80);
    position: relative;
    left: 0;
    top: 0;
    img {
      width: rem(80);

    }
    /* 删除位置 */
    .delete {
      width: rem(20);
      height: rem(20);
      border-radius: 50%;
      background-color: #3e3e76;
      position: absolute;
      right: rem(-5);
      top: rem(-5);
    }
    /* 叉号 */
    .delete:before, .delete:after {
      width: rem(3);
      height: rem(18);
      position: absolute;
      background-color: #fff;
      content: "";
      left: rem(8);
      top: 1px;
    }
    .delete:after {
      transform: rotate(43deg);
    }
    .delete:before {
      transform: rotate(-43deg);
    }
  }
}

#up_img {
  height: rem(470);
  top: rem(30);
  > h2 {
    margin-top: rem(15);
  }
  .select_content {
    padding-bottom: 0;
    .works_msg {
      p {
        padding: rem(5) 0;
        display: flex;
        justify-content: center;
        line-height: rem(30);
        span {
          width: rem(80);
        }
        input {
          flex-grow: 1;
          border: 1px solid #333;
        }
      }
      p:last-child {
        textarea {
          height: rem(70);
          flex-grow: 1;
          border: 1px solid #333;
        }
      }
    }
    .picture_select {
      padding: rem(10) 0;
      width: rem(120);
      margin: 0 auto;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;

      .change_picture {
        width: rem(120);
        line-height: rem(30);
        height: rem(30);
        text-align: center;
        font-size: rem(16);
        color: #fff;
        background-color: #0099ff;
        border-radius: rem(3);
      }
      p {
        color: #666;
        line-height: rem(30);
      }
      .picture_site {
        width: rem(80);
        position: relative;
        left: 0;
        top: 0;
        img {
          width: rem(80);

        }
        /* 删除位置 */
        .delete {
          width: rem(20);
          height: rem(20);
          border-radius: 50%;
          background-color: #3e3e76;
          position: absolute;
          right: rem(-5);
          top: rem(-5);
        }
        /* 叉号 */
        .delete:before, .delete:after {
          width: rem(3);
          height: rem(18);
          position: absolute;
          background-color: #fff;
          content: "";
          left: rem(8);
          top: 1px;
        }
        .delete:after {
          transform: rotate(43deg);
        }
        .delete:before {
          transform: rotate(-43deg);
        }
      }
    }
  }
}

/* 截图区域操作 */
.img_container {
  z-index: 3;
  width: 100%;
  min-height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #fff;
  display: none;
  overflow: auto;
  .save {
    display: flex;
    justify-content: flex-end;
    padding: rem(5);
    > p {
      background-color: #0099ff;
      color: #fff;
      height: rem(30);
      line-height: rem(30);
      width: rem(50);
      text-align: center;
      border-radius: rem(2);
    }
  }
  .img_preview {
    width: rem(200);
    height: rem(200);
    overflow: hidden;
  }
}

.pop_user_msg{
  top: 2.2rem;
}
.join-slogan{
  text-align: left;
  border: 1px solid #333;
  width: 5.06667rem;
  height: 1.8rem;
  line-height: .8rem;
  color: #666;
  margin: 0 0 0 .26667rem;
  padding-left: .26667rem;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

// 投票动画
.vote_suc_notify {
  display: none;
  position: absolute;
  left: 0;
  top: rem(150);
  z-index: 4;
  .box {
    /* 初始○ */
    position: absolute;
    left: rem(113);
    top: rem(110);
    width: rem(150);
    line-height: rem(150);
    text-align: center;
    z-index: 4;
    p{
      position: absolute;
      left: 0;
      bottom: 0;
      text-align: left;
      padding-left: rem(10);
      line-height: rem(100);
    }
  }
  .vote_bg {
    animation: rotate 6s linear infinite;
  }
  .ticket {
    /* 开始票位置 */
    position: absolute;
    top: rem(-600);
    left: 4.41333rem;
    width: rem(60);
    z-index: 3;
    -webkit-animation: down .5s .5s 1;
    animation-fill-mode: forwards; /* 让动画执行完停留在最后*/
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
// 票掉下来
@keyframes down {
  0% {
    top: rem(-600)
  }

  100% {
    top: rem(100)
  }
}
